package com.gxuwz.medical.web.servlet;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
 * 角色管理控制模块
 * @author 演示
 *
 */
public class RoleServlet extends BaseServlet {
	@Override
	protected void doGet(HttpServletRequest req, HttpServletResponse resp)
			throws ServletException, IOException {
		this.doPost(req, resp);
	}

	@Override
	protected void doPost(HttpServletRequest req, HttpServletResponse resp)
			throws ServletException, IOException {
		String m =req.getParameter("m");
		if("list".equals(m)){
			list(req, resp);
		}else if("add".equals(m)){
			add(req, resp);
		}else if("get".equals(m)){
			get(req, resp);
		}
	}
	private void list(HttpServletRequest req, HttpServletResponse resp)
			throws ServletException, IOException{
		  
	}
	private void add(HttpServletRequest req, HttpServletResponse resp)
			throws ServletException, IOException{
	}
	private void get(HttpServletRequest req, HttpServletResponse resp)
			throws ServletException, IOException{
	}
    
}
